package com.dong.pointviewpager.interfaces

import android.content.Context
import android.widget.ImageView

/**
 * @description: 图片加载器
 * @author dong
 * @date 2021/12/15 15:34
 */
interface IImageLoader {
    fun loadImage(context: Context, imageView: ImageView, path: String, placeHolderRes: Int?, errorRes: Int?)

    fun loadImage(context: Context, imageView: ImageView, res: Int, placeHolderRes: Int?, errorRes: Int?)
}